package com.zmzncs.lmtc.module.finance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 财务-总交易记录表
 * </p>
 *
 * @author JD
 * @since 2021-04-07
 */
@Data
public class TransactionRecordVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "账户类型（1个人，2公司）")
    private Integer accountType;

    @ApiModelProperty(value = "账户编号")
    private String accountNo;

    @ApiModelProperty(value = "交易编号/订单号")
    private String tradeNo;

    @ApiModelProperty(value = "交易金额（金额0不记）")
    private BigDecimal amount;

    @ApiModelProperty(value = "资金方向1进账,2出账")
    private Integer inOut;

    @ApiModelProperty(value = "交易类型（0其他，1代缴，2分润，3退款，4充值，5月卡,6分润）")
    private Integer tradeType;

    @ApiModelProperty(value = "交易描述")
    private String tradeDescribe;

    @ApiModelProperty(value = "交易时间")
    private Date tradeTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
